.game-card {
    width: 95%;
    margin: 0 auto;
    margin-top: 3vmin;
    background-color: #ffffff;
    border-radius: 2vmin;
    box-shadow: 0 0 1vmin #cfcfcf;
    padding: 2vmin;

    .game-title {
        line-height: 10.5vmin;
        font-size: var(--middle-font-size);
    }

    .game-content {
        font-size: 4.5vmin;

        &-description {
            position: relative;

            &.unfold {
                .game-content-description_p {
                    height: fit-content;
                }

                .game-content-description_arrow::before {
                    transform: translate(-50%, -50%) rotate(-45deg);
                }
            }

            &_p {
                height: 0;
                overflow: hidden;
                font-size: 4.5vmin;

                &::last-child {
                    margin-bottom: 0;
                }
            }

            &_arrow {
                position: relative;
                height: 8vmin;

                &::before {
                    content: '';
                    position: absolute;
                    left: 50%;
                    bottom: 0;
                    width: 5vmin;
                    height: 5vmin;
                    border-top: 1vmin solid var(--main-color);
                    border-right: 1vmin solid var(--main-color);
                    transform: translate(-50%, -50%) rotate(135deg);
                    border-radius: 1vmin;
                    transition: transform 300ms ease-in-out;
                }
            }
        }
    }
}

.game-task {
    li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background-color: var(--main-color);
        border-radius: 99vmin;
        padding: 1vmin 1vmin 1vmin 4vmin;
        margin-bottom: 2vmin;

        .task-name {
            flex: 1;
            font-size: var(--mini-font-size);
            color: #ffffff;
            padding-right: 2vmin;
        }

        .task-status {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18vmin;
            height: 9vmin;
            background-color: var(--simple-color);
            font-size: var(--small-font-size);
            font-weight: bold;
            color: #1d1d1f;
            border-radius: 99vmin;
        }
    }
}

.game-button {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 5vmin;
    left: 50%;
    transform: translateX(-50%);
    width: 92vmin;
    height: 11vmin;
    line-height: 11vmin;
    background-color: var(--main-color);
    border-radius: 10vmin;
    box-shadow: 0px 0px 1vmin #e9e9e9;
    span {
        font-size: var(--normal-font-size);
        font-weight: bold;
        color: #ffffff;
        text-align: center;
    }
}